package com.hzk.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzk.mapper.SeckillGoodsMapper;
import com.hzk.pojo.SeckillGoods;
import com.hzk.pojo.SeckillOrder;
import com.hzk.service.ISeckillGoodsService;
import com.hzk.vo.GoodsVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author jack
 * @since 2022-03-01
 */
@Service
public class SeckillGoodsServiceImpl extends ServiceImpl<SeckillGoodsMapper, SeckillGoods> implements ISeckillGoodsService {
    @Autowired
    SeckillGoodsMapper seckillGoodsMapper;

    @Override
    public List <SeckillOrder> select() {
        List <SeckillOrder> select = seckillGoodsMapper.select();
        return select;
    }
}
